package com.stylefeng.guns.modular.system.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.system.model.Gdprice;

/**
 * <p>
 * 股票价格 Mapper 接口
 * </p>
 *
 * @author stylefeng123
 * @since 2018-05-19
 */
public interface GdpriceMapper extends BaseMapper<Gdprice> {
	
	Gdprice getGdpriceByDate(Gdprice gdprice);

	Gdprice selectOrderByDate(Gdprice gdprice);
	
	List<Gdprice> getGdpriceByDateLimit(Gdprice gdprice);

	Double getZdfByDate(Gdprice gdprice);

	Double selectCjLn(@Param("gScode") String code,@Param("gTime") String gTime);

    List<Gdprice> getGdPrices(@Param("gScode") String code,@Param("gTime") String gTime);

}
